﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MobileSMS.aspx.cs" Inherits="Catering.Catering_Page.Mes.MobileSMS" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="../../Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script src="../../Scripts/CheckBoxInTreeView.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="../../../Style/head.css" />
    <link rel="stylesheet" type="text/css" href="../../Style/center.css" />
    <link href="../../../Style/zhezhao.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/zhezhao.js" type="text/javascript"></script>
    <link href="../../../Style/tinybox_style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        *
        {
            margin: 0px;
            padding: 0px;
        }
        body
        {
            font-size: 12px;
        }
        .data_css
        {
            width: 99%;
            margin-top: 10px;
            height: 310px;
            overflow-y: auto;
            overflow-x: hidden;
            border: #ccc 1px solid;
        }
        .data_css th
        {
            background: url(../../Images/th_02bg.gif) repeat-x 0px 0px;
            padding: 0px;
            text-align: center;
            height: 29px;
            border-right: #ccc 1px solid;
            font-weight: 400;
        }
        .data_css td
        {
            text-align: center;
            height: 20px;
            line-height: 20px;
        }
        .btn_list
        {
            width: 99%;
            height: 30px;
            line-height: 30px;
            padding: 5px 0px;
            border: 1px solid #c2def6;
            background-color: #e5f1ff;
            margin-top: 10px;
        }
        img
        {
            border: 0px;
        }
        .ryglRecipe_0206{margin-top:10px;}
    </style>
    <style type="text/css">
        .Create_Recipe
        {
            margin-top: 0;
        }
        .Create_Recipe
        {
            border: 1px solid #159aec;
            border-top: none;
            width: 998px;
        }
        .soso_lt
        {
            padding: 5px 0;
        }
        .soso_lt a
        {
            margin-left: 3px;
        }
        .Dish_info_td td
        {
            padding: 3px 0px;
        }
        #tbody_DishList tr
        {
            cursor: pointer;
        }
        .div_menu
        {
            width: 178px;
            height: 350px;
        }
        .div_menu ul
        {
            width: 178px;
            margin: 0px auto;
        }
        .div_menu li
        {
            width: 166px;
            height: 25px;
            line-height: 25px;
            padding-left: 10px;
            font-weight: 400;
            cursor: pointer;
            text-align: left;
            margin: 0px 0px;
            background: url(../../Images/all_CR_yuanliao.gif) no-repeat 0px -28px;
        }
        .div_menu li:hover
        {
            background: url(../../Images/all_CR_yuanliao.gif) no-repeat 0px 0px;
            color: #fff;
            font-weight: 600;
        }
        .Red{ color:Red;}
    </style>
    <script type="text/javascript">
        $(document).ready(function () {
            $(".div_menu li").click(function () {
                $(".div_menu li").css("color", "#000");
                $(".div_menu li").css("font-weight", "400");

                $(this).css("color", "#f90");
                $(this).css("font-weight", "600");

                $("#Data_main").attr("src", $(this).attr("uid"));
            });
        });
        function CheckMsg() {
            if ($("#txt_phoneNo").val() == "") {
                alert("请选择接收人！");
                return false;
            }
            if ($("#TextBox1").val() == "") {
                alert("短信内容不能为空！");
                return false;
            }
        }
        self.parent.frames["topFrame"].ddClass(2);
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="xxk_button1">
        <ul>
            <li><a id="li2_1" href="MobileSMS.aspx" class="li_out li_over">&nbsp;&nbsp;手机短信发送</a></li>
            <li><a id="li2_2" href="MobileOutBox.aspx" class="li_out">&nbsp;&nbsp;已发送消息</a></li>
            <li><a id="li2_3" href="MobileSMSQueue.aspx" class="li_out">&nbsp;&nbsp;在发送信息</a></li>
        </ul>
    </div>
    <div class="Center_Content" id="div2_1" style="display: block">
        <div class="Create_Recipe">
            <div class="left_CR">
                <div class="ryglRecipe_0206">
                    <h1>
                        <a href="#">基础数据</a></h1>
                    <div class="Dl_div">
                        <div class="div_menu" >
                            <asp:TreeView Width="100%" style="overflow-y:auto" Height="320px" ID="TreeView1" runat="server" Font-Size="12px" ImageSet="Contacts" NodeIndent="10" ExpandDepth="0" ontreenodecheckchanged="TreeView1_TreeNodeCheckChanged"  SelectedNodeStyle-BackColor="#999999">
                                <HoverNodeStyle Font-Underline="False" />
                                <NodeStyle Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" HorizontalPadding="5px"
                                    NodeSpacing="0px" VerticalPadding="0px" />
                                <ParentNodeStyle Font-Bold="True" ForeColor="#5555DD" />
                                <SelectedNodeStyle Font-Underline="True" HorizontalPadding="0px" VerticalPadding="0px" />
                            </asp:TreeView>
                            <div class="soso_lt_div">
                                <table cellpadding="0" cellspacing="0" border="0" width="176" height="30" align="center">
                                    <tr>
                                        <td>&nbsp;<asp:TextBox ID="txtSearch" Width="90px" CssClass="input_bg" runat="server"></asp:TextBox></td>
                                        <td><asp:Button ID="btnSearch" CssClass="button_soso_lt" style="margin:0px; padding:0px;" runat="server" Text="" onclick="btnSearch_Click" /></td>
                                        <td><asp:Button ID="btnSelectRecevie" Width="50px" runat="server" Text="确定" onclick="btnSelectRecevie_Click" /></td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="Right_CR" style="overflow-x: hidden;">
                <div class="btn_list" style="height:30px; width:788px;" >
                    <table width="100%" style="height:30px" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td align="right" valign="middle">
                                <asp:Button ID="Button3" CssClass="input_btn_a" runat="server" Text="发送" OnClientClick="return CheckMsg()" OnClick="Button3_Click" />
                            </td>
                            <td width="10"></td>
                        </tr>
                    </table>
                </div>
                <table  width="100%" style="height:30px" border="0" cellpadding="0" cellspacing="0">
                    <tr><td colspan="3" height="10"></td></tr>
                    <tr>
                        <td style="width:60px" align="center" height="30" valign="middle">接收人：</td>
                        <td align="left">
                            <asp:TextBox name="txt_phoneNo" ID="txt_phoneNo" Width="620" runat="server" CssClass="input_bg"></asp:TextBox>
                        </td>
                        <td width="100"></td>
                    </tr>
                    <tr><td colspan="3" height="10"></td></tr>
                    <tr>
                        <td valign="top" align="center">内&nbsp;&nbsp;&nbsp;&nbsp;容：</td>
                        <td align="left" colspan="2" width="740">
                            <asp:TextBox ID="TextBox1" runat="server" Height="265" Rows="20" TextMode="MultiLine" Width="726" Font-Size="Medium"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
